//商品详情页，组件在文件夹info下
import React from 'react'
import { withRouter } from "react-router-dom";
import Select from './All/Select';

import Mytab from './Mytab'
const All = () => {
    return (
        // 采用了一种方法使得背景色填充满剩余部分
        <div style={{minHeight:'100vh',display:'flex'}}>
            <div style={{ backgroundColor: "#080904",minHeight:'100vh',display:'flex',width:'100%' }}>
                <div style={{ width: '90%', margin: '0 auto' }}>
                    <div style={{ fontSize: '1.5em', fontWeight: 'bold', paddingTop: '25px', paddingBottom: '20px' }}>选择</div>
                    <Select />
                </div>
                
                <Mytab />
            </div>
            <div style={{flex:'1'}}></div>
        </div>
    )
}
export default withRouter(All)
